@extends('layouts.app')
@section('title','系统安全')
@section('content')

<!-- start: Content -->
<div class="row-fluid">
	<div class="box span12">
		<div class="box-header">
			<h2><i class="icon-edit"></i>修改密码</h2>
		</div>
		<div class="box-content">
			<form action="{{ URL('admin/updatepwd') }}" method='POST'  enctype="multipart/form-data" class="form-horizontal" style='height:3000px;'>
				{{ csrf_field() }}
				  <fieldset>
					<div class="control-group">
					  <div class="controls">
					 <fieldset>
					<div class="control-group">
					  <label class="control-label" for="typeahead">用户名:</label>
					  <div class="controls">
						<input type="text" name='name' style='width:300px;' class="span6 typeahead" value='{{ Auth::user()->name }}' readonly />
					  </div>
					</div>
					<div class="control-group">
					  <label class="control-label" for="typeahead">新密码:</label>
					  <div class="controls">
						<input type="password" name='pwd' style='width:300px;' class="span6 typeahead" maxlength="20"/>
					  </div>
					</div>
					<div class="control-group">
					  <label class="control-label" for="typeahead">再次输入密码:</label>
					  <div class="controls">
						<input type="password" name='forpwd' style='width:300px;' class="span6 typeahead" maxlength="20"/>
					  </div>
					</div>
				  </fieldset>
				  </div>
				</div>
				<div class="form-actions">
				  <button type="submit" class="btn btn-primary">确定</button>
				</div>
			  </fieldset>
			</form> 
		</div>
	</div><!--/span-->
</div><!--/row-->
<!-- end: Content -->
@stop